package com.dragon.app.design.pattern.singleton;

/**
 * 
 * <p>class: Singleton1</p>  
 * <p>Description: 单例模式 饿汉式实现</p>  
 * @author SmallDragon
 * @date 2019年3月26日
 *
 */
public class Singleton1 {
	private static Singleton1 instance = new Singleton1();

	private Singleton1() {
	}

	public static Singleton1 getInstance() {
		return instance;
	}

}
